package com.itouch.bracelet.diseaseinfo;

public class Constants {
	public static final String APP_CODE = "XIAOAI";

	public static int VP_NUMBER = 4; // 0-1岁
	
	
	
	public static final String PATH_SLASH = "/";
    public static final String PATH_PICTURE = PATH_SLASH + "xiaoai" + PATH_SLASH + "titlpage";
	
	
	
	public static int DISEASE_INFO_ZERO_2_ONE = 67; // 0-1岁
	public static int DISEASE_INFO_ONE_2_THREE = 69; // 1-3岁
	public static int DISEASE_INFO_THREE_2_SIX = 70; // 3-6岁
	public static int DISEASE_INFO_SIX_ABOVE = 85; // 6岁以上

	public static String DISEASE_INFO_ZERO_2_ONE_LABEL = "0-1岁";
	public static String DISEASE_INFO_ONE_2_THREE_LABEL = "1-3岁";
	public static String DISEASE_INFO_THREE_2_SIX_LABEL = "3-6岁";
	public static String DISEASE_INFO_SIX_ABOVE_LABEL = "6岁以上";


//	public static String URL = "http://192.168.3.222:83/handchain"; // 服务器地址
	public static String URL = "http://192.168.1.144:8082/handchain"; // 服务器地址

//	public static String URL = "http://192.168.3.186:8083"; // 服务器地址
	
//	public static String URL = "http://122.224.91.58:6599/handchain"; // 服务器地址

//	public static String URL = "http://122.224.91.58:6599"; // 服务器地址

	
	
	
	public static final String ABOUT =URL+"/app/gy.html";
	//版本更新
	public static final String VERSION_XML =URL+ "/app/android/EsBracelet/version.xml";
	public static final String VERSION_APK = URL+"/app/android/EsBracelet/EsBracelet.apk";
	
	public static String IMAGE_URL="http://192.168.3.46:82";//图片和静态资源服务器


	public static String DISEASEINFO_MAIN = "/mobi/stagePlate/plateInfoByParentId?";
	public static String DISEASEINFO_SEARCH = "/handbook/knowledge/list?";
	public static String DISEASEINFO_DETAIL = "/handbook/knowledge/plateById?";
	public static int SIZE = 10;
	
	
	//http://192.168.3.222:83/mobi/medication/medAndLacPercent?customerId=85
	public static final String GET_MED_LAC = URL
			+ "/mobi/medication/medAndLacPercent";
	
	
	//   /mobi/customer/updatePwd?phone=15267875837&validCode=123456&password=111111
	public static final String LOST_PASSWORD = URL
			+ "/mobi/customer/updatePwd";
	
	
	
	//		//http://127.0.0.1:8083/mobi/lactation/saveLactation?lactationNum=22&childrenId=89&lactationTime=2014-01-26&nextLacDate=2014-01-27&creator=1
	public static final String SAVE_LAC = URL
			+ "/mobi/lactation/saveLactation";
	
	//http://127.0.0.1:8083/mobi/customer/updatePwdInside?id=87&password=111111
	public static final String UPDATE_PASSWORD = URL
			+ "/mobi/customer/updatePwdInside";
	
	
	//http://192.168.3.222:83/mobi/medication/medPercentAndSport?customerId=85
	public static final String GET_MED_SPORT = URL
			+ "/mobi/medication/medPercentAndSport";
	

	// 通讯录
	// http://192.168.3.222:83/rong/relation/getfriendsbyid?1=1&id=86
	public static final String GET_FRIENDS_BY_ID = URL
			+ "/rong/relation/getfriendsbyid";

	// http://192.168.3.222:83/mobi/login/loginByPhone?1=1&password=211289&phone=15211111111&lat=22.1234&lng=33.4321&type=1&appcode=12&mobicode=11
	public static final String LOGIN_BY_PHONE = URL
			+ "/mobi/login/loginByPhone";
	
	
	
	//获取消息列表 http://192.168.3.222:83/mobi/rongMsg/list?page=1&rows=1
	public static final String GET_RONG_MSG = URL
			+ "/mobi/rongMsg/list";
	
//	http://192.168.3.222:83/mobi/registration/Registration?name=帅气爸&password=666666&deviceType=2&mobile=13757982221&deviceNo=28&hospitalNo=123
	public static final String REGISTER = URL
			+ "/mobi/registration/Registration";

	
	public static final String CHANGE_DEVICE = URL
			+ "/mobi/registration/changeDevice";
	
	
	//获取附近的人 http://192.168.3.222:83/mobi/customer/calDistanceByPage?filter_S_lat=11&filter_S_lng=11&filter_S_id=85
	public static final String GET_NEARBY = URL
			+ "/mobi/customer/calDistanceByPage";
	
	
	//http://192.168.3.222:83/rong/relation/addfriendmsg?initiator=2&receiver=5
	public static final String ADD_FRIEND = URL
			+ "/rong/relation/addfriendmsg";
	public static final String AGREE_FRIEND = URL
			+ "/rong/relation/agreeapplication";


	// 获取新的朋友http://192.168.3.222:83/rong/relation/getunsolvedbyuserid?id=85
	public static final String GET_FRIEND = URL
			+ "/rong/relation/getunsolvedbyuserid";
	//获取大人用药记录
	//http://192.168.3.46:81/mobi/medication/getMedication?1=1&customerId=86&filter_S_parentId=0&page=1&rows=10
	public static final String GET_MEDICATION = URL
			+ "/mobi/medication/getMedication";
	public static final String DELETE_MEDICATION = URL
			+ "/mobi/medication/deleteMedication";
	
	//http://192.168.3.46:81/mobi/medication/batchSaveMedication?medicationName=11,22,33&medicationNum=4,5,6&medicationDate=2015-02-06&nextMedDate=2015-02-07&customerId=85&creator=254
	public static final String SAVE_MEDICATION = URL
			+ "/mobi/medication/batchSaveMedication";
	
	///mobi/registration/childrenlist
	public static final String CHILD_REGISTER = URL
			+ "/mobi/registration/childrenlist";
	
	public static final String CHILD_EDIT = URL + "/mobi/customer/updateChildInfo";
	
	public static final String PARENT_EDIT = URL + "/mobi/customer/updateCustomerInfo";
	
	
	//获取小孩用药记录
	//http://192.168.3.46:81/mobi/medication/getMedication?1=1&customerId=88&filter_S_parentId=1&page=1&rows=10

	//获取大人运动记录
	//http://192.168.3.46:81/mobi/sports/list?filter_S_customerId=86
	public static final String GET_SPORT = URL
	+ "/mobi/sports/list";
	
	///获取小孩喂奶记录 /http://192.168.3.46:81/mobi/lactation/getLactation?filter_S_customerId=88
	public static final String GET_LOCTATION = URL
			+ "/mobi/lactation/getLactation";
	
	

	// cache
	public static final String CACHE_CONTACT_LIST = APP_CODE
			+ "_tongxunlu_cache_essence";
	public static final String USERCACHE = APP_CODE + "_user_cache_essence";

}
